<script setup>
const isBottom = ref(false)
onMounted(() => {
  if (
    document.body.scrollHeight >
    (window.innerHeight || document.documentElement.clientHeight)
  ) {
    isBottom.value = false
  }
})
</script>

<template>
  <footer :class="{ 'fixed-bottom': isBottom }">
    <div class="container">页脚</div>
  </footer>
</template>

<style scoped>

</style>
